import request from '@/utils/request'

export function CreationTypeListByTypeId(params) {
  return request({
    url: '/CreationType/CreationTypeListByTypeId',
    method: 'get',
    params
  })
}

// 创作类型添加接口
export function CreationTypeEdit(data) {
  return request({
    url: '/CreationType/CreationTypeEdit',
    method: 'post',
    data
  })
}


// 创作类型删除接口
export function CreationTypeDel(data) {
  return request({
    url: '/CreationType/CreationTypeDel',
    method: 'post',
    data
  })
}
